/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Login;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *
 * @author Ius
 */
public class KonekDB {

    /**
     * @param args the command line arguments
     */
     public static void main(String[] args) throws SQLException, FileNotFoundException, IOException {
        Connection con;
        con = Koneksi.open();
        Statement stat = con.createStatement();

        String xxx = "select * from employees";
        stat.executeQuery(xxx);
        System.out.println("oke");
    }
}
